﻿namespace ApplicationControllerExample
{
    using System;
    using System.Windows.Forms;
    using Infrastructure.IoC;
    using StructureMap;

    internal static class Program
    {
        [STAThread]
        private static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var ioc = new Container();
            var bootStrapper = new BootStrapper(ioc);
            ApplicationContext appcontext = bootStrapper.GetAppContext();

            Application.Run(appcontext);
        }
    }
}